package com.cskaoyan.bean.one2more;

import com.cskaoyan.bean.more2more.Course;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class Student implements Serializable {

    // 相当于是这个对象的身份证号，在反序列化的时候用来验证对象流是否被篡改过
    private static final long serialVersionUID = -345526746049360276L;

    Integer id;
    String name;
    Integer age;
    String gender;
    Integer clazzId;

    List<Course> courseList;


}
